package com.pikaqiu.demo.entity.message;

import java.io.Serializable;

/**
 * @author 吕梁山
 * @date 2019/4/22
 */
public class WeChatMessage implements Serializable {

    /**
     * 发送方帐号（一个OpenID）
     */
    private String FromUserName;

    /**
     * 开发者微信号
     */
    private String ToUserName;

    /**
     * 消息类型，文本为text，图片为image， 语音为voice
     */
    private String MsgType;

    /**
     * 消息创建时间 （整型）
     */
    private long CreateTime;

    /**
     * 消息id，64位整型
     */
    private int MsgId;

    public String getFromUserName() {
        return FromUserName;
    }

    public void setFromUserName(String fromUserName) {
        FromUserName = fromUserName;
    }

    public String getToUserName() {
        return ToUserName;
    }

    public void setToUserName(String toUserName) {
        ToUserName = toUserName;
    }

    public String getMsgType() {
        return MsgType;
    }

    public void setMsgType(String msgType) {
        MsgType = msgType;
    }

    public long getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(long createTime) {
        CreateTime = createTime;
    }

    public int getMsgId() {
        return MsgId;
    }

    public void setMsgId(int msgId) {
        MsgId = msgId;
    }
}
